﻿using System;
using System.Collections.Generic;
using System.Text;
using SecurityDAL;
using System.Data;
using MyExection;

namespace SecurityBLL
{
    /// <summary>
    /// 
    /// </summary>
    public class CaiDanJieDianBLL
    {
        private CaiDanJieDianDAL caiDanJieDianDAL = null;
        public CaiDanJieDianBLL()
        {
            caiDanJieDianDAL = new CaiDanJieDianDAL();
        }

        /// <summary>
        /// 获取菜单节点
        /// </summary>
        /// <returns></returns>
        public DataTable GetCaiDanJieDian()
        {
            try
            {
                return caiDanJieDianDAL.GetCaiDanJieDian();
            }
            catch
            {
                throw new CustomException("获取菜单节点出错，请重试！");
            }
        }
    }
}
